1. For the function \(f(x,y) = 3x^3y^2+ 4xy-7x\):
- (i) Find the tangent plane to the graph of \(z = f(x,y)\) at (1,2).
- (ii) Verify that the gradient of \(F(x,y,z) = z-f(x,y)\) at (1,2,13) is normal to the plane in (i).
- (iii) Find \(D_{\vec{u}} f(1,2)\) for \(\vec{u}\) the unit vector in the direction of \(3\vec{i}+2\vec{j}\) and also in the direction of \(\nabla f\)(1,2).
For (ii), we have to remember where the equation of a plane comes from. In order for \(\nabla F(1, 2, 13)\) to be normal to the tangent plane in (i), we must have \(\nabla F(1, 2, 13)\cdot \vec{v} = 0\), for every vector \(\vec{v}\) in the tangent plane. Now, if \((x,y,z)\) is a typical point in that plane, then \((x-1)\vec{i}+(y-2)\vec{j}+(z-13)\vec{k}\) represents a typical vector in the plane. Thus, we want
For (iii), \(\nabla f(1,2) = 37\vec{i}+16\vec{j}\). Thus, for \(\vec{u} = \frac{1}{\sqrt{13}} (3\vec{i}+2\vec{j})\),
2. Calculate \(\pdv{f}{u}\) and \(\pdv{f}{v}\) both by substitution and by using the chain rule for the function \(f(x, y, z) = xy^2z^3\) with \(x = u^2+v\), \(y = 3v+7\), and \(z = 3u^3\).
3. Evaluate the following limits or show they do not exist:
For the second limit, the function is continuous at (2,1), so we may evaluate the limit by substitution, i.e., the limit is: \(\frac{2^4\cos(\pi)}{e^3} = -16e^{-3}.\)
For the third limit, if we approach (0,0) along the \(x\)-axis, we get a limiting value of 1, while if we approach (0,0) along the \(y\)-axis, we get 0, so the limit does not exist.
For the last limit, we switch to polar coordinates. The limit then becomes
4. Consider the function \(f(x,y) = \left\{ \begin{array}{ll} 0 & \mbox{if } xy \not = 0 \\ 1 & \mbox{if } xy = 0 \end{array} \right.\). Show that \(f(x,y)\) is not continuous at (0,0), then show that \(f(x,y)\) is not differentiable even though \(\pdv{f}{x}\)(0,0) and \(\pdv{f}{y}\)(0,0) exist. Why does this not contradict the theorem which states that if \(f(x,y)\) is differentiable at \((a,b)\), then \(f(x,y)\) is continuous at \((a,b)\)?
Recall that the existence of the partial derivatives at (0,0) does not imply \(f(x,y)\) is differentiable at (0,0). To see this, for the given function, note that the linear function we expect to approximate \(f(x,y)\) at \((0,0)\) is \(L(x,y) = f_x(0,0)x+f_y(0,0)y+1 = 1\). Thus, \(f(x,y)\) is differentiable at (0,0) if and only if
5. For the function \(f(x,y) = 3x^2+7y-2\), use the limit definitions: (a) To verify that \(f(x,y)\) is differentiable at (3,2) and (b) To verify that the first order partials of \(f(x,y)\) are continuous at (3,2).
6. Use the limit definition to calculate the directional derivative of of \(f(x,y) = 2x^2y-3x\) at (4,3) in the direct of the vector \(\vec{i}+\vec{j}\). Verify your answer by dotting the gradient vector with an appropriate direction vector.
7. For the function \(f(x,y) = \begin{cases} \frac{x^3}{x^2+y^2}, \ \textrm{if}\ (x,y) = (0,0)\\ 0,\ \textrm{if}\ (x,y) = (0,0) \end{cases}\), show that \(D_{\vec{u}}f (0,0)\) exists for all directions \(\vec{u}\), but \(f(x,y)\) is not differentiable at \((0,0)\). Find formulas for \(f_x(x,y), f_y(x,y), D_{\vec{u}} f(x, y)\), for \(u = \vec{i}+\vec{j}\).
For \(f_x(x,y)\) and \((x,y) \not = (0,0)\), we calculate in the usual way. Thus, \(f_x(x,y) = \begin{cases} \frac{x^4+3x^2y^2}{(x^2+y^2)^2}, \ \textrm{if}\ (x,0) \not = (0,0)\\1\ \textrm{if}\ (x,y) = 0.\end{cases}\)
Similarly for \(f_y(x,y)\) and \(D_{\vec{u}}(x,y)\), so:
\(f_y(x,y) = \begin{cases} \frac{-2x^3y}{(x^2+y^2)^2}, \ \textrm{if}\ (x,y) \not = (0,0)\\ 0,\ \textrm{if}\ (x,y) = (0,0).\end{cases}\) and \ \(D_{\vec{u}}(x,y) = \begin{cases} \frac{x^4+3x^2y^2}{(x^2+y^2)^2}\cdot \frac{1}{\sqrt{2}} + \frac{-2x^3y}{(x^2+y^2)^2}\cdot \frac{1}{\sqrt{2}}, \ \textrm{if}\ (x,y)\not = (0,0)\\1\cdot \frac{1}{\sqrt{2}}+0\cdot\frac{1}{\sqrt{2}}, \ \textrm{if}\ (x,y) = (0,0).\end{cases}\)
8. Find and classify the critical points for: \(f(x,y) = 2x^2 - 4xy + y^4 + 2\) and \(g(x,y) = x^3 - 12 x + y^3 + 3 y^2 - 9y\). Find the absolute maximum and minimum values of \(f(x,y)\) on the square \([-1,1]\times[-1,1]\).
For (0,0) we have: \(D(0,0) = 4\cdot 0-(-4)^2 < 0\), so \(f(x,y)\) has a saddle point at (0,0).
For (1,1) we have: \(D(1,1) = 4\cdot 12-(-4)^2 > 0\) and \(f_{xx}(1,1) = 4 > 0\), so \(f(x,y)\) has a relative minimum at (1,1).
For (-1,-1), we have: \(D(-1,-1) = 4\cdot 12-(-4)^2 > 0\) and \(f_{xx}(1,1) = 4 > 0\), so \(f(x,y)\) has a relative minimum at (1,1).
Turning to \(g(x,y)\), we have:
For (2,-3): \(D(2,-3) = 12\cdot (-12)-0 < 0\), for \(g(x,y)\) has a saddle point at (2,-3).
For (-2,-3): \(D (-2,-3) = (-12)\cdot (-12)-0 > 0\) and \(g_{xx}(-2,-3) = -12 < 0\), so \(g(x,y)\) has a relative maximum at (-2,-3).
For (2,1): \(D(2,1) = 12\cdot 12 > 0\) and \(g_{xx}(2,1) = 12 > 0\), so \(g(x,y)\) has a relative minimum at (2,1).
For (-2,1): \(D(-2,1) = -12\cdot 12 < 0\), so \((x,y)\) has a saddle point at \((-2,1)\).
For the absolute maximum and minimum values of \(f(x,y)\) over \([-1,1]\times [-1, 1]\), it is easy to check the critical points on the boundary occur at the vertices of the square. Thus we check: \(f(0,0) = 2; f(1,1) = 1; f(-1,-1) = 9; \newline f(-1,1) = 9; f(1,-1) = 9\). Thus, 1 is the absolute minimum and 9 is the absolute maximum we seek.
9. Show that the surface area of a closed rectangular box with volume 27 in\(^3\) is smallest when the box takes the shape of a cube.
10. Show that the sum of the squares of the distances from a point \(P =(c,d)\) to \(n\) fixed points \((a_1,b_1), \ldots, (a_n, b_n)\) is minimized when \(c\) is the average of the \(x\)-coordinates \(a_i\) and \(d\) is the average of the \(y\)-coordinates \(b_i\).